//
//  CarDetailTableViewCell.m
//  我的小汽车
//
//  Created by 杜远洋 on 15-1-18.
//  Copyright (c) 2015年 蓝欧科技. All rights reserved.
//

#import "CarDetailTableViewCell.h"

@implementation CarDetailTableViewCell

- (void)dealloc
{
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.name = [[UILabel alloc] initWithFrame:CGRectMake(60, 8, 210, 12)];
        [self.name setBackgroundColor:[UIColor grayColor]];
        [self.contentView addSubview:self.name];
        
        self.engine = [[UILabel alloc] initWithFrame:CGRectMake(60, 30, 15, 12)];
        [self.engine setBackgroundColor:[UIColor grayColor]];
        [self.contentView addSubview:self.engine];
        
        self.transmission = [[UILabel alloc] initWithFrame:CGRectMake(78, 30, 20, 12)];
        [self.transmission setBackgroundColor:[UIColor grayColor]];
        [self.contentView addSubview:self.transmission];
        
        self.guideLabel = [[UILabel alloc] initWithFrame:CGRectMake(200, 30, 20, 12)];
        [self.guideLabel setBackgroundColor:[UIColor grayColor]];
        [self.contentView addSubview:self.guideLabel];
        
        self.guidePrice = [[UILabel alloc] initWithFrame:CGRectMake(225, 30, 20, 12)];
        [self.guidePrice setBackgroundColor:[UIColor grayColor]];
        [self.contentView addSubview:self.guidePrice];
        
        [self.name release];
        [self.engine release];
        [self.guidePrice release];
        [self.guideLabel release];
        [self.transmission release];
        
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
